import React, {Component} from 'react';
import {Route, Switch} from 'react-router-dom';
import MemberIndex from './member_index';
import MemberDetail from './member_detail';

export default class Member extends Component {
    render() {
        return (
            <Switch>
                <Route path="/member" exact component={MemberIndex}/>
                <Route path="/member/detail" exact component={MemberDetail}/>
            </Switch>
        );
    }
}